package com.engine4cloud.tdf.supervision.dto.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "终端社区矫对象生物特征信息-请求对象")
public class FeatureUpdateDTO implements Serializable {

    @Schema(description = "主键")
    private Long id;

    /**
     * 身份证号
     */
    @Schema(description = "身份证号", example = "610***************")
    @NotBlank(message = "身份证号不能为空")
    private String identity;

    /**
     * 特性文件存储路径
     */
    @Schema(description = "特性文件存储路径", example = "/supervision/oss-file/oss/file?fileName=09468fc20f2544e28891a058858fdf58.png")
    @NotBlank(message = "特性文件存储路径不能为空")
    private String featureUrl;
}
